<script>
export default {
  name: 'co-form-item-render',
  props: {
    customRender: {
      type: Function
    },
    scope: {
      type: Object
    }
  },
  render (h) {
    if (!this.customRender) {
      return ''
    }
    return (
      this.customRender(this.scope, h)
    )
  }
}
</script>
